<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>${cfg.groupId}</groupId>
    <artifactId>${cfg.artifactId}-parent</artifactId>
    <version>0.0.1</version>
    <packaging>pom</packaging>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>

        <mysql.version>8.0.11</mysql.version>
        <druid.version>1.1.12</druid.version>
        <p6spy.version>3.8.1</p6spy.version>
        <spring.version>5.1.6.RELEASE</spring.version>

        <ahccc.ui.version>0.0.21</ahccc.ui.version>
        <flowable.version>6.4.1</flowable.version>
        <lombok.version>1.16.16</lombok.version>
    </properties>

    <modules>
        <module>../${package.ModuleName?lower_case}-server</module>
        <module>../${package.ModuleName?lower_case}-web</module>
    </modules>

    <dependencyManagement>
        <dependencies>
            <!-- springboot依赖管理 -->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>2.1.8.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <!-- springcloud依赖管理 -->
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-starter-parent</artifactId>
                <version>Greenwich.SR2</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <!-- mysql -->
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>${r'${mysql.version}'}</version>
            </dependency>

            <!-- druid -->
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>druid</artifactId>
                <version>${r'${druid.version}'}</version>
            </dependency>

            <!-- ps6spy -->
            <dependency>
                <groupId>p6spy</groupId>
                <artifactId>p6spy</artifactId>
                <version>${r'${p6spy.version}'}</version>
            </dependency>

            <!-- 工作流引擎 -->
            <dependency>
                <groupId>org.flowable</groupId>
                <artifactId>flowable-engine</artifactId>
                <version>${r'${flowable.version}'}</version>
            </dependency>

            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>${r'${lombok.version}'}</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>com.chinaictc.framework</groupId>
                <artifactId>mybatis</artifactId>
                <version>0.0.1</version>
            </dependency>

            <dependency>
                <groupId>com.ahccc</groupId>
                <artifactId>ahccc-ui</artifactId>
                <version>0.0.21</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
    </build>

</project>